package com.yuyou.fn.portal.service;

import com.yuyou.fn.portal.entity.RecommendRecord;
import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.portal.vo.RecommendRecordDetailVo;

import java.util.List;

/**
 *
 * RecommendRecord 表数据服务层接口
 *
 */
public interface IRecommendRecordService extends ISuperService<RecommendRecord,Long> {

    void addRecommendRecord(long userId,int userType,long classId);

    void deleteRecommendRecordByUserIdRecommendIds(long userId,List<Long> recommendIds);

    List<RecommendRecord> findRecommendRecordListByUserId(long userId);

    Long countRecommendRecordByUserId(long userId);

    RecommendRecord findRecommendRecordByUserIdClassId(long userId,long classId);

    List<RecommendRecordDetailVo> findRecommendRecordDetailList(long userId);
}